package Command;

public class Light {
    private boolean state = false;
    
    public void on() {
        System.out.println("on");
        this.state = true;
    }
    
    public void off() {
        System.out.println("off");
        this.state = false;
    }

}
